<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    function phone() {

    }
    phone.name = '2'//静态成员  属于类 不属于实例对象
    phone.prototype.name = '6'//都属于
    phone.change = function () {
        console.log('4')
    }

    class phone1{
        static name = 'ppp';//静态成员  属于类 不属于实例对象
    }
</script>
</body>
</html>